#SET{larg_img,240}
[(#CONFIG{tispipskelet_conf/larg_page}|=={800}|?{' '})
	#SET{larg_img,240}
	[(#CONFIG{tispipskelet_conf/nb_cols}|=={3}|?{' '})
		#SET{larg_img,180}
	]
]
[(#CONFIG{tispipskelet_conf/larg_page}|=={1024}|?{' '}) 
	#SET{larg_img,300}
	[(#CONFIG{tispipskelet_conf/nb_cols}|=={3}|?{' '})
		#SET{larg_img,240}
	]
]
[(#SET{cycle_mot,Slideshow-accueil})]
[(#CONFIG{tispipskelet_conf/sommaire/mot_cycle_img}|?{' '})[(#SET{cycle_mot,#CONFIG{tispipskelet_conf/sommaire/mot_cycle_img}})]]
[(#CONFIG{tispipskelet_conf/larg_page}|=={tout}|?{' '}) #SET{larg_img,300}]
[(#CONFIG{tispipskelet_conf/sommaire/cycle_effect}|?{#SET{effect,#CONFIG{tispipskelet_conf/sommaire/cycle_effect}},#SET{effect,fade}})]
[(#CONFIG{tispipskelet_conf/sommaire/cycle_duree}|?{#SET{duree,#CONFIG{tispipskelet_conf/sommaire/cycle_duree}},#SET{duree,5000}})]
[(#CONFIG{tispipskelet_conf/sommaire/cycle_time}|?{#SET{time,#CONFIG{tispipskelet_conf/sommaire/cycle_time}},#SET{time,750}})]
[(#CONFIG{tispipskelet_conf/sommaire/cycle_pause}|?{#SET{pause,#CONFIG{tispipskelet_conf/sommaire/cycle_pause}},#SET{pause,0}})]
<div id="fade" class="pics" style="text-align:center;height:[(#EVAL{[(#GET{larg_img})]+20})px];position:relative">
		<BOUCLE_cycle(ARTICLES)}>
				<BOUCLE_docs_cycle(DOCUMENTS){id_article=#GET{id_art}}{par date}{inverse}{mode=document}{extension IN png,jpg,gif}{0,1}>
						<a href="#URL_ARTICLE" title="#_cycle:TITRE">
						<img src="#FICHIER" width="[(#GET{larg_img})]" height="[(#GET{larg_img})]"/>
							[(#CONFIG{tispipskelet_conf/sommaire/cycle_titre}|=={oui}|?{' ',''})
								<span  class="c_legend">#_cycle:TITRE</span>
							]
						</a>
				</BOUCLE_docs_cycle>
			</BOUCLE_cycle>
</div>
<script type="text/javascript">
$('#fade').cycle({ 
	fx:     '[(#GET{effect})]', 
    speed:   #GET{time}, 
    timeout: #GET{duree}, 
    pause:   #GET{pause} 
	});
		$('span.c_legend').css('opacity',0.5);
</script>
